package cn.hom1.model.vo;

import lombok.Data;

/**
 * Json消息返回
 *
 * @author iksen
 * @date 2019-01-15 15:53
 */
@Data
public class ResponseVo<T> {
  private int status;
  private String msg;
  private T data;

  public ResponseVo(int status, String msg, T data) {
    this.status = status;
    this.msg = msg;
    this.data = data;
  }
  public ResponseVo(int status, String msg){
    this.status = status;
    this.msg = msg;
  }
}
